Welcome![Sign In][Sign Up]
Location:
Search - lexical analyzer for c

Search list

[ELanguage12345

Description: 这是一个C语言编写的实现的是对输入语句进行建单的词法分析的法分析器的源程序,是我们的作业,可以运行-This is a C language is the realization of the input for building a single statement of the lexical analysis of the source of law Analyzer is our operation, you can run
Platform: | Size: 1024 | Author: xinxin | Hits:

[JSP/Javachartparsing

Description: 英文的句法分析器,重复下面的操作直到agenda为空并且输入中没有下一个词 若agenda为空,则把句子中下一个词的各种词法符号(词性)加入进来, 从agenda中取一个元素(设为C,位置为:p1-p2) 对下面形式的每个规则: X->CX1...Xn,在activearcs中增加一条活动边:X->C o X1...Xn,位置为:p1-p2; X->C,把X加入agenda,位置为:p1-p2 边扩展 将C加入到chart的位置p1-p2 对每个形式为:X->X1... o C...Xn的活动边,若它在p0-p1之间,则在activearcs中增加一条活动边:X->X1... C o...Xn,位置:p0-p2 对每个形式为: X->X1... Xn o C的活动边,若它在p0-p1之间,则在agenda中增加一个成分:X,位置为:p0-p2 -English syntax analyzer, repeat the following operation until the agenda is empty and enter the next word, if there is no agenda is empty, put the next word in the sentence various lexical symbols (POS) joined in, take an element from the agenda of the (Set C, position: p1-p2) of each rule of the form: X-> CX1 ... Xn, an increase in the active edge activearcs: X-> C X1 ... Xn, location : p1-p2 X-> C, the X adding agenda, location: p1-p2 side extensions added to the chart position C p1-p2 for each form: X-> X1 ... C.. . Xn activity side, if it is between p0-p1, an increase in activity in activearcs side: X-> X1 ... C ... Xn, location: p0-p2 for each form: X-> X1 ... Xn C activity side, if it is between p0-p1, then add an ingredient in the agenda: X, location: p0-p2
Platform: | Size: 76800 | Author: reacher | Hits:

[Windows DevelopAnalysis

Description: 基于C++的简单词法分析器 实现对C保留字 变量名的识别和分析-Based on a simple lexical analyzer to achieve C++ C reserved words for the identification and analysis of variable names
Platform: | Size: 2048 | Author: yingkkk | Hits:
« 1 2 3 4 5 6»

CodeBus www.codebus.net